<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<NerdDinner.Web.Models.ViewData.DinnerFormViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit: <%=Html.Encode(Model.Dinner.Title)%> 
</asp:Content>

<asp:Content ID="Javascript" ContentPlaceHolderID="JavascriptContent" runat="server">
    <script src="/Scripts/jQuery-1.3.2.js" type="text/javascript"></script>  
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Edit</h2>
    
    <p>Owner: <%= ViewData["username"] %></p>
    
    <% Html.RenderPartial("DinnerForm"); %>

</asp:Content>

